/**
 * 
 */
package betandregret;

import java.util.LinkedList;

/**
 * @author Heide
 *
 */
public class Collection<T> {
	
	protected LinkedList<T> liste;

	public Collection(){
		this.liste = new LinkedList<T>();
	}
	
	public void add(T object) {
		this.liste.add(object);
	}

	public void remove(T object) {
		this.liste.remove(object);
	}

	public boolean isEmpty() {
		if(liste.size()==0)
			return true;
		return false;
	}

}
